//
//  BasicAPI.h
//  YouthOlympic2014
//
//  Created by Li Yuhang on 14-7-1.
//  Copyright (c) 2014年 mitian. All rights reserved.
//

#ifndef YouthOlympic2014_BasicAPI_h
#define YouthOlympic2014_BasicAPI_h

@protocol BasicAPI <NSObject>


//Game
//比赛大项
- (id) GetGameInfo: (NSString*) userId
           withLan: (NSString*) lan;
//比赛小项
- (id) GetGameSubTypeInfoByType: (NSString*) gameTypeId
                  withLan: (NSString*) lan;
//比赛详细查询
- (id) GetgameDetailInfoByType: (NSString*) gameTypeId
                    andSubType: (NSString*) subgameTypeId
                   andGameDate: (NSString*) gameDate
                       withLan: (NSString*) lan;

//获取某场馆某日比赛
- (id) GetGameDetailInfoPlace: (NSString*) placeId
                  andSubPlace: (NSString*) subplaceId
                  andGameDate: (NSString*) gameDate
                      withLan: (NSString*) lan;

//获取赛事日期标注接口
- (id) GetDateMarksByType:(NSString*) gameTypeId
               andSubType:(NSString*) subgameTypeId
                  withLan:(NSString*) lan;

//CEP
- (id) SelectAllCepActive:(NSString*) userId
                  withLan:(NSString*) lan;

- (id) SelectTheOneCepActive: (NSString*) cepId
                   andUserId: (NSString*) userId
                     withLan: (NSString*) lan;

//Place

-(id) GetLocation:(NSString*) lan;
-(id) GetSubLocation:(NSString*) placeId
             withLan:(NSString*) lan;

-(id) GetDateMarksByPlace: (NSString*) placeId
              andSubPlace: (NSString*) subplaceId
                  withLan: (NSString*) lan;

//发送iOS设备Token
- (id)InputIphoneDevNo:(NSString*)deviceId
                userId:(NSString*)userId;

//天气
- (id) GetWeather: (NSString*) gameDate
          withLan: (NSString*) lan;

@end

#endif
